Fix need_dev_deps to return false during a default `cargo build` run
authorXimin Luo <infinity0@pwned.gg>
Thu, 15 Mar 2018 15:17:55 +0000 (16:17 +0100)
committerXimin Luo <infinity0@pwned.gg>
Thu, 15 Mar 2018 16:07:03 +0000 (17:07 +0100)
commit89d5161d8e13a3b973cdb09b0f179a82c3c2749a
tree6d522c5d888ab528d2fc7464c0475d39161ba1ed
parent89d274875fe79f37bc36f22d6afa63f5f854de03
Fix need_dev_deps to return false during a default `cargo build` run

- Also add a mode param to need_dev_deps to make clear the intent
src/cargo/ops/cargo_compile.rs